package com.video.chat.domain.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用来封装服务端给浏览器发送的消息数据
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMessage {
    private String code;
    private boolean isSystem;
    private String fromName;
    private Object message;// 如果是系统消息是数组
    private String toName;
}